﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Spring.Aop;

namespace dotUML.System.Aspects
{
    /// <summary>
    /// Advice class for Spring.Net instrumentation.
    /// Logs method data before method call.
    /// </summary>
    public class LoggingBeforeAdvice : IMethodBeforeAdvice
    {
        #region IMethodBeforeAdvice Members

        /// <summary>
        /// Log method data before the method is called.
        /// </summary>
        /// <param name="method">Method reflection data.</param>
        /// <param name="args">Method arguments.</param>
        /// <param name="target">Object on which the method was called.</param>
        public void Before(global::System.Reflection.MethodInfo method, object[] args, object target)
        {
            // TODO:
        }

        #endregion
    }
}
